package com.evil.common.account.constant;

import com.evil.common.redis.constant.RedisConstant;

/**
 * @author liyang
 * @date 2022-08-08 00:00
 */
public interface AccountRedisConstant extends RedisConstant {

    /**
     * 会话资源-用户
     */
    String REQUEST_UUID_USER_PREFIX = "user:";

    /**
     * 会话资源-用户基础信息
     */
    String REQUEST_UUID_USER_BASE_PREFIX = "user_base:";

    /**
     * 会话资源-部门
     */
    String REQUEST_UUID_DEPARTMENT_PREFIX = "department:";

    /**
     * 会话资源-部门基础信息
     */
    String REQUEST_UUID_DEPARTMENT_BASE_PREFIX = "department_base:";

    /**
     * 会话资源-角色
     */
    String REQUEST_UUID_ROLE_PREFIX = "role";

    /**
     * 会话资源-角色基础信息
     */
    String REQUEST_UUID_ROLE_BASE_PREFIX = "role_base:";

    /**
     * 会话资源-企业
     */
    String REQUEST_UUID_ENTERPRISE_PREFIX = "enterprise";

    /**
     * 会话资源-企业基础信息
     */
    String REQUEST_UUID_ENTERPRISE_BASE_PREFIX = "enterprise_base:";
}
